<template>
  <div class="title-com">
    <div class="block">
      <span class="demonstration">默认</span>
      <el-date-picker
        v-model="value1"
        type="daterange"
        range-separator="至"
        start-placeholder="开始日期"
        end-placeholder="结束日期"
        value-format="yyyy-MM-dd"
        align="left"
      >
      </el-date-picker>
    </div>
  </div>
</template>

<script>
export default {
  props: {},
  components: {},
  data() {
    return {
      value1: ["2020-01-01", "2020-01-02"],
    };
  },
  computed: {},
  watch: {
    value1(val) {
      console.log(val);
    },
  },
  created() {},
  mounted() {},
  methods: {},
};
</script>

<style scoped lang="less"></style>
